package com.thiswhyme.mq.rocketmq.consumer.dto.msg;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.StringJoiner;

/**
 * Created by thiswhyme on 2020/6/7.
 */
@Data
@Accessors(chain = true)
public class TestMsgDto implements Serializable {

    private static final long serialVersionUID = -7944752614093287540L;

    private Integer dataId;

    private String content;

    @Override
    public String toString() {
        return new StringJoiner(", ", TestMsgDto.class.getSimpleName() + "[", "]")
                .add("dataId=" + dataId)
                .add("content='" + content + "'")
                .toString();
    }
}
